package com.asiainfo.dacp.datastash.broker.core.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 分片的配置信息dsId
 *
 * @author MeiKefu
 * @date 2017-11-30
 */
@Data
@AllArgsConstructor
@ToString
public class StashUnitStepShardMeta implements Serializable {

    private String dsName = "";//数据源ID，ftp、数据库地址

    private String content = "";//文件path，sql语句

    private String filter = "";//正则过滤，只针对文件

    private String strg="";//File，SQL

    public StashUnitStepShardMeta(String dsName,String content,String strg){
        this.dsName=dsName;
        this.content=content;
        this.strg = strg;
    }

}
